<?php
defined('_GM_VALID_CALL') or die("Direct Access is not allowed.");

if(strpos(MODULE_PAYMENT_INSTALLED, 'shopgate.php') !== false) {
	include_once DIR_FS_CATALOG.'/shopgate/includes.php';
	$mRed = new MobileRedirect();

	if($product->isProduct) $mRed->getItemScript($product->pID, true);
	else if(isset($cID) && $cID) $mRed->getCategoryScript($cID, true);
	else $mRed->getScript(true);
}
